home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / serial / dim-1.000 / dim-1 / dim-1.03 / src / config.h next >
Text File  |  1994-01-26  |  2KB  |  64 lines

  1. /* 
  2.    config.h: defines the pathnames of relevant files,
  3.    process names, other settings.. 
  4.    --------------------------------------------------
  5. */
  6.  
  7. /*
  8.         The destination of the configuration files, also mentioned
  9.     in the build-script
  10. */
  11. #define CONFDIM     "/conf/dim/"
  12.  
  13.                         /*      The version and the year */
  14. #define VERSION         "1.03"
  15. #define YEAR            "1994"
  16.  
  17.  
  18.                         /* the copy of the original getty definitions file 
  19.                see examples directory for a sample
  20.                         */
  21. #define ORGGETTY        CONFDIM "getty.ttyS3.org"
  22.  
  23.                         /* the file named beyond is used to disable 
  24.                auto-answers by the modem. 
  25.             */
  26. #define DISABLEGETTY     CONFDIM "getty.ttyS3.dis"
  27.  
  28.                         /* the file getty uses for its definition */
  29. #define DESTGETTY    "/etc/default/getty.ttyS3"
  30.  
  31.                         /* the login program */
  32. #define LOGIN        "/bin/login"
  33.  
  34.                         /* the error-log file */
  35. #define ERRLOG        "/usr/adm/dim.log"
  36.  
  37.                         /* the panic-log file, incase ERRLOG logging fails */
  38. #define PANICLOG    "/dev/console"
  39.  
  40.                         /* command to list processes.. must lead to the 
  41.                process number in the first column, and the process
  42.                with its arguments, used in resetting (uu)getty
  43.                            to a new state
  44.                         */
  45. #define PSCMD        "ps -ax"
  46.    
  47.                         /* process string of the (uu)getty process, used in 
  48.                resetting (uu)getty for a new definition file. 
  49.                Note that PSCMD (above) must show this string, 
  50.                when (uu)getty is running.. Check this carefully!
  51.                         */
  52. #define GETTYSTRING    "/etc/getty ttyS3 modem vt100"
  53.  
  54.                         /* e-mail address of sysadm which user can mail upon 
  55.                failure, displayed by error logging functions. 
  56.                Leave undefined if you don't want callback
  57.                            to display the message that the person can be 
  58.                e-mailed in case of trouble
  59.                          */   
  60.  
  61. /*      Undefined now!
  62. #define EMAIL            "frank@icce.rug.nl"   
  63. */
  64.